package com.zp.datax.service;


import com.zp.datax.core.model.DataxJobInfo;
import com.zp.datax.core.result.ReturnT;

import java.util.List;
import java.util.Map;

public interface DataxJobInfoService {

    // admin
    Map<String, Object> pageList(int start, int length, String name);

    ReturnT<String> remove(Integer sysId);

    ReturnT<String> stop(Integer sysId);

    ReturnT<String> start(Integer sysId);

    ReturnT<String> update(DataxJobInfo dataxJobInfo);

    ReturnT<String> add(DataxJobInfo dataxJobInfo);

    ReturnT<String> exec(Integer sysId, String params);

    List<DataxJobInfo> searchAll();
}
